<?php
$obj=new class{
public function __unset($name)
{
    echo "unset:  $name";
}
};
unset($obj->ii);